package com.alibaba.system.service.impl;

import com.alibaba.basic.service.impl.BaseServiceImpl;
import com.alibaba.system.domain.DictionaryType;
import com.alibaba.system.mapper.DictionaryTypeMapper;
import com.alibaba.system.service.DictionaryTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictionaryTypeServiceImpl extends BaseServiceImpl<DictionaryType> implements DictionaryTypeService {
    @Autowired
    private DictionaryTypeMapper dictionaryTypeMapper;
    @Override
    public List<DictionaryType> findByDetail(Long id) {
        return dictionaryTypeMapper.findByDetail(id);
    }
}
